<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="/header.jsp"></jsp:include>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span3 columns">
			<div class="accordion" id="accordion2">
				<div class="accordion-group">
					<div class="accordion-heading">
						<a class="accordion-toggle" data-toggle="collapse"
							data-parent="#accordion2" href="#collapseOne"><i class="icon-star"></i>功能分类 </a>
					</div>
					<div id="collapseOne" class="accordion-body in collapse"
						style="height: auto;">
						<div class="accordion-inner">
							<ul class="nav nav-list">
								<li><a href="./register_user.jsp"><i class="icon-pencil"></i>账号注册</a></li>
								<li><a href="./login.jsp"><i class="icon-flag"></i>会员登录</a></li>
								<li><a href="ShowTimetableServlet"><i class="icon-list-alt"></i>放映时刻表</a></li>
							</ul>
						</div>
					</div>
				</div>
				<c:if test="${ user.type=='会员' }">
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle" data-toggle="collapse"
								data-parent="#accordion2" href="#collapseTwo"><i class="icon-star"></i>会员功能 </a>
						</div>
						<div id="collapseTwo" class="accordion-body collapse">
							<div class="accordion-inner">
								<ul class="nav nav-list">
									<li><a href="AccountManagementServlet"><i class="icon-user"></i>账户管理</a></li>
									<li><a href="ShowSaleServlet?userid=${ user.id }"><i class="icon-list-alt"></i>消费记录</a></li>
									<li><a href="RechargeServlet"><i class="icon-lock"></i>账户充值</a></li>
								</ul>
							</div>
						</div>
					</div>
				</c:if>
				<c:if test="${ user.type=='服务员' }">
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle" data-toggle="collapse"
								data-parent="#accordion2" href="#collapseThree"><i class="icon-star"></i>服务员功能</a>
						</div>
						<div id="collapseThree" class="accordion-body collapse">
							<div class="accordion-inner">
								<ul class="nav nav-list">
									<li><a href="UserListServlet"><i class="icon-list-alt"></i>会员列表</a></li>
									<li><a href="AddMovieServlet"><i class="icon-film"></i>添加电影</a></li>
									<li><a href="MadeTimetableServlet"><i class="icon-facetime-video"></i>制定放映表</a></li>
								</ul>
							</div>
						</div>
					</div>
				</c:if>
				<c:if test="${ user.type=='经理' }">
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle" data-toggle="collapse"
								data-parent="#accordion2" href="#collapseFour"><i class="icon-star"></i>经理功能</a>
						</div>
						<div id="collapseFour" class="accordion-body collapse">
							<div class="accordion-inner">
								<ul class="nav nav-list">
									<li><a href="userPieChart.jsp"><i class="icon-picture"></i>会员信息统计</a></li>
									<li><a href="movieSalePieChart.jsp"><i class="icon-picture"></i>销售信息统计</a></li>
								</ul>
							</div>
						</div>
					</div>
				</c:if>
			</div>
		</div>
		<!--/span-->
		<div class="span9 columns">
			<div id="myCarousel" class="carousel slide">
				<div class="carousel-inner">
					<div class="item active">
						<img src="./img/pifu.jpg" alt="匹夫">
						<div class="carousel-caption">
							<h4>匹夫</h4>
							<p>每个人都有自己的帮要混！</p>
						</div>
					</div>
					<div class="item">
						<img src="./img/gongzhuheqingwa.jpg" alt="公主和青蛙">
						<div class="carousel-caption">
							<h4>青蛙王子和公主</h4>
							<p>迪斯尼重新演绎经典！</p>
						</div>
					</div>
					<div class="item">
						<img src="./img/kongzi.jpg" alt="孔子">
						<div class="carousel-caption">
							<h4>孔子</h4>
							<p>子曰：君子不器！</p>
						</div>
					</div>
					<div class="item">
						<img src="./img/huolongduijue.jpg" alt="火龙对决">
						<div class="carousel-caption">
							<h4>火龙对决</h4>
							<p>兄弟，或是，宿敌！</p>
						</div>
					</div>
				</div>
				<a class="left carousel-control" href="#myCarousel"
					data-slide="prev">‹</a> <a class="right carousel-control"
					href="#myCarousel" data-slide="next">›</a>
			</div>
			<div class="hero-unit">
				<h1>Arnold Cineplex</h1>
				<p>欢迎来到Arnold电影院。希望您在这里能度过一段美好的时光。</p>
			</div>
		</div>
		<!--/span-->
	</div>
	<!--/row-fluid-->
</div>
<!--/container-fluid-->
<jsp:include page="/footer.jsp"></jsp:include>